package com.lebang.mapper;

import com.lebang.configuration.datasource.DataSource;
import com.lebang.domain.RegisterWhiteImei;
import com.lebang.example.RegisterWhiteImeiExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * RegisterWhiteImeiMapper继承基类
 */
@Mapper
public interface RegisterWhiteImeiMapper extends MyBatisBaseDao<RegisterWhiteImei, Long, RegisterWhiteImeiExample> {

    @DataSource("commonDB")
List<String> selectAllImeiList();
    @DataSource("commonDB")
    Integer selectByImei(@Param("imei") String imei);
}